class CreateConfigurations < ActiveRecord::Migration
  def self.up
    create_table :configurations do |t|
        t.column :business_title, :string
        t.column :foundation_date, :date
        t.column :months_accounting_cycle, :string
    end
    execute "INSERT INTO configurations(id,business_title,foundation_date,months_accounting_cycle)  VALUES ('','PEREIRA TOUR SA','2005-01-31','1')"   
  
    

  end

  def self.down
    drop_table :configurations
  end
end
